package com.yidu.KuangJia.entity;



public class Righty {
    private String rightCode;       // 功能编号
    private String rightParentCode;  //父功能编号
    private String rightType; // 功能类型
    private String rightName; // 功能名称
    private String shiroName; // shiro权限名称
    private String rightUrl;  // 功能对应路径

    public Righty(){}

    public Righty(String rightCode, String rightParentCode, String rightType, String rightName, String shiroName, String rightUrl) {
        this.rightCode = rightCode;
        this.rightParentCode = rightParentCode;
        this.rightType = rightType;
        this.rightName = rightName;
        this.shiroName = shiroName;
        this.rightUrl = rightUrl;
    }

    public String getRightCode() {
        return rightCode;
    }

    public void setRightCode(String rightCode) {
        this.rightCode = rightCode;
    }

    public String getRightParentCode() {
        return rightParentCode;
    }

    public void setRightParentCode(String rightParentCode) {
        this.rightParentCode = rightParentCode;
    }

    public String getRightType() {
        return rightType;
    }

    public void setRightType(String rightType) {
        this.rightType = rightType;
    }

    public String getRightName() {
        return rightName;
    }

    public void setRightName(String rightName) {
        this.rightName = rightName;
    }

    public String getShiroName() {
        return shiroName;
    }

    public void setShiroName(String shiroName) {
        this.shiroName = shiroName;
    }

    public String getRightUrl() {
        return rightUrl;
    }

    public void setRightUrl(String rightUrl) {
        this.rightUrl = rightUrl;
    }

    @Override
    public String toString() {
        return "Righty{" +
                "rightCode='" + rightCode + '\'' +
                ", rightParentCode='" + rightParentCode + '\'' +
                ", rightType='" + rightType + '\'' +
                ", rightName='" + rightName + '\'' +
                ", shiroName='" + shiroName + '\'' +
                ", rightUrl='" + rightUrl + '\'' +
                '}';
    }
}
